package chapter04

/**
 * @author: 余辉
 * @blog: https://blog.csdn.net/silentwolfyh
 *        descriptions:
 *        date: 2024 - 09 - 02 11:01 上午
 */
trait Rdd {
  var dep: List[Rdd]
  val iter: Iterator[String]

  def map(f: String => String): MapRdd

  def compute(): Iterator[String]

  def foreach(f: String => Unit): Unit
}